<html>
<head>
	<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
	<title>eljust2 memo notes</title>
</head>
  <body>
  <h4>eljust2</h4>
  <table>
  <tr>
  <td align="center">date</td>
  <td align="center">author</td>
  <td align="center">content</td>
  </tr>
  {% for greeting in greetings %}
  <tr>  
  <td>
  {{ greeting.date }}
  </td>
  <td>
    {% if greeting.author %}
      <b>{{ greeting.author.nickname }}</b> wrote:
    {% else %}
     anonymous
    {% endif %}
    </td>
    <td>
    {{ greeting.content|escape }}    
    </td>
   <tr>
  {% endfor %}
  </table>
    
  <form action="/sign" method="post">
    <div><textarea name="content" rows="3" cols="60"></textarea></div>
    <div><input type="submit" value="Sign Guestbook"></div>
  </form>
  
  <a href="{{ url }}">{{ url_linktext }}</a>
  
 </body>
</html>
